<?php
/**
 * @file
 * itd_video_content.ds.inc
 */

/**
 * Implementation of hook_ds_field_settings_info().
 */
function itd_video_content_ds_field_settings_info() {
  $export = array();

  $ds_fieldsetting = new stdClass;
  $ds_fieldsetting->api_version = 1;
  $ds_fieldsetting->id = 'node|video|default';
  $ds_fieldsetting->entity_type = 'node';
  $ds_fieldsetting->bundle = 'video';
  $ds_fieldsetting->view_mode = 'default';
  $ds_fieldsetting->settings = array(
    'field_video_ballot' => array(
      'ft' => array(
        'func' => 'theme_ds_field_expert',
        'lb-el' => 'h3',
        'lb-cl' => 'ref-sub',
        'lb-col' => TRUE,
        'fis' => TRUE,
        'fis-el' => 'ul',
        'fis-cl' => 'ref-list',
        'fi' => TRUE,
        'fi-el' => 'li',
        'fi-cl' => '',
      ),
    ),
    'field_video_event' => array(
      'ft' => array(
        'func' => 'theme_ds_field_expert',
        'lb-el' => 'h3',
        'lb-cl' => 'ref-sub',
        'lb-col' => TRUE,
        'fis' => TRUE,
        'fis-el' => 'ul',
        'fis-cl' => 'ref-list',
        'fi' => TRUE,
        'fi-el' => 'li',
        'fi-cl' => '',
      ),
    ),
    'field_video_general' => array(
      'ft' => array(
        'func' => 'theme_ds_field_expert',
        'lb-el' => 'h3',
        'lb-cl' => 'ref-sub',
        'lb-col' => TRUE,
        'fis' => TRUE,
        'fis-el' => 'ul',
        'fis-cl' => 'ref-list',
        'fi' => TRUE,
        'fi-el' => 'li',
        'fi-cl' => '',
      ),
    ),
    'field_video_services' => array(
      'ft' => array(
        'func' => 'theme_ds_field_expert',
        'lb-el' => 'h3',
        'lb-cl' => 'ref-sub',
        'lb-col' => TRUE,
        'fis' => TRUE,
        'fis-el' => 'ul',
        'fis-cl' => 'ref-list',
        'fi' => TRUE,
        'fi-el' => 'li',
        'fi-cl' => '',
      ),
    ),
    'field_video_where' => array(
      'ft' => array(
        'func' => 'theme_ds_field_expert',
        'fi' => TRUE,
        'fi-el' => 'div',
        'fi-cl' => 'hidden',
      ),
    ),
    'field_video_youtube' => array(
      'ft' => array(
        'func' => 'theme_ds_field_reset',
      ),
    ),
  );
  $export['node|video|default'] = $ds_fieldsetting;

  return $export;
}

/**
 * Implementation of hook_ds_layout_settings_info().
 */
function itd_video_content_ds_layout_settings_info() {
  $export = array();

  $ds_layout = new stdClass;
  $ds_layout->api_version = 1;
  $ds_layout->id = 'node|video|default';
  $ds_layout->entity_type = 'node';
  $ds_layout->bundle = 'video';
  $ds_layout->view_mode = 'default';
  $ds_layout->layout = 'ds_1col';
  $ds_layout->settings = array(
    'hide_empty_regions' => 0,
    'hide_sidebars' => 0,
    'regions' => array(
      'ds_content' => array(
        0 => 'field_video_player',
        1 => 'field_video_youtube',
        2 => 'body',
        3 => 'group_associated',
        4 => 'field_video_event',
        5 => 'field_video_ballot',
        6 => 'field_video_services',
        7 => 'field_video_general',
        8 => 'field_video_where',
      ),
    ),
    'fields' => array(
      'field_video_player' => 'ds_content',
      'field_video_youtube' => 'ds_content',
      'body' => 'ds_content',
      'group_associated' => 'ds_content',
      'field_video_event' => 'ds_content',
      'field_video_ballot' => 'ds_content',
      'field_video_services' => 'ds_content',
      'field_video_general' => 'ds_content',
      'field_video_where' => 'ds_content',
    ),
    'classes' => array(),
  );
  $export['node|video|default'] = $ds_layout;

  return $export;
}
